﻿<%@ Control Language="C#" AutoEventWireup="true" CodeFile="ctrEntryVisa.ascx.cs" Inherits="Controls_EntryVisa_ctrEntryVisa" %>
<%@ Register Src="../../Common/Alert.ascx" TagName="Alert" TagPrefix="uc1" %>
<%@ Register Src="../../Common/Textbox.ascx" TagName="Textbox" TagPrefix="uc2" %>
<%@ Register Assembly="FreeTextBox" Namespace="FreeTextBoxControls" TagPrefix="FTB" %>
<table>
    <tr>
        <td style="padding-bottom: 10px">
            <uc1:Alert ID="MessAlert1" runat="server" />
        </td>
    </tr>
</table>
<table>
    <tr>
        <td style="padding-bottom: 10px">
            <asp:Label runat="server" ID="lblContactFullname" CssClass="text" Width="100px"></asp:Label>
            <asp:TextBox ID="txtContactFullname" runat="server" MaxLength="245" Width="300px" 
                ValidationGroup="Input"></asp:TextBox>&nbsp;<span style="color: #ff3333">*</span>&nbsp;&nbsp;&nbsp;
            <asp:Label runat="server" ID="lblTitle" CssClass="text" Width="50px" Height="19px"></asp:Label>
            <asp:DropDownList ID="ddlTitle" Width="70px" runat="server">
            </asp:DropDownList>
        </td>
    </tr>
    <tr>
        <td style="padding-bottom: 10px">
            <asp:Label runat="server" ID="lblEmail" CssClass="text" Width="100px"></asp:Label>
            <asp:TextBox ID="txtEmail" runat="server" Width="150px" ValidationGroup="Input" MaxLength="245" ></asp:TextBox>&nbsp;<span
                style="color: #ff3333">*</span> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <asp:Label runat="server" ID="lblConfirmEmail" CssClass="text" Width="100px"></asp:Label>
            <asp:TextBox ID="txtConfirmEmail" runat="server" Width="150px" ValidationGroup="Input" 
                MaxLength="245"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td style="padding-bottom: 10px">
            <asp:Label runat="server" ID="lblTel" CssClass="text" Width="100px"></asp:Label>
            <asp:TextBox ID="txtTel" runat="server" Width="150px" MaxLength="245" ValidationGroup="Input" ></asp:TextBox>
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <asp:Label runat="server" ID="lblFax" CssClass="text" Width="100px"></asp:Label>
            <asp:TextBox ID="txtFax" runat="server" Width="150px" MaxLength="245" ValidationGroup="Input" ></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td style="padding-bottom: 10px;">
            <asp:Label runat="server" ID="lblHomeAddress" CssClass="text" Width="100px"></asp:Label>
            <asp:TextBox ID="txtHomeAddress" runat="server" Width="450px" MaxLength="245" ValidationGroup="Input" ></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td style="padding-bottom: 10px; padding-top: 15px">
            <asp:Label ID="lblProposedDate" runat="server" Font-Bold="true" Font-Size="15px"></asp:Label>
            <hr />
        </td>
    </tr>
   
    <tr>
        <td style="padding-bottom: 10px">
            <asp:Label runat="server" ID="lblPortOfArrival" CssClass="text" Width="100px"></asp:Label>
            <asp:TextBox ID="txtPortOfArrival" runat="server" Width="300px" MaxLength="245" ValidationGroup="Input" ></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td style="padding-bottom: 10px">
            <asp:Label runat="server" ID="lblArrivalDate" CssClass="text" Width="100px" Height="19px"></asp:Label>
            <asp:DropDownList ID="ddlMonth1" Width="100px" runat="server">
                <asp:ListItem Value="01">January</asp:ListItem>
                <asp:ListItem Value="02">February</asp:ListItem>
                <asp:ListItem Value="03">March</asp:ListItem>
                <asp:ListItem Value="04">April</asp:ListItem>
                <asp:ListItem Value="05">May</asp:ListItem>
                <asp:ListItem Value="06">June</asp:ListItem>
                <asp:ListItem Value="07">July</asp:ListItem>
                <asp:ListItem Value="08">August</asp:ListItem>
                <asp:ListItem Value="09">September</asp:ListItem>
                <asp:ListItem Value="10">October</asp:ListItem>
                <asp:ListItem Value="11">November</asp:ListItem>
                <asp:ListItem Value="12">December</asp:ListItem>
            
            </asp:DropDownList>
            <asp:DropDownList ID="ddlDay1" Width="40px" runat="server">
            </asp:DropDownList>
          
            <asp:DropDownList ID="ddlYear1" Width="60px" runat="server">
            </asp:DropDownList>
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <asp:Label runat="server" ID="lblExitDate" CssClass="text" Width="70px" Height="19px"></asp:Label>
             <asp:DropDownList ID="ddlMonth2" Width="100px" runat="server">
                <asp:ListItem Value="01">January</asp:ListItem>
                <asp:ListItem Value="02">February</asp:ListItem>
                <asp:ListItem Value="03">March</asp:ListItem>
                <asp:ListItem Value="04">April</asp:ListItem>
                <asp:ListItem Value="05">May</asp:ListItem>
                <asp:ListItem Value="06">June</asp:ListItem>
                <asp:ListItem Value="07">July</asp:ListItem>
                <asp:ListItem Value="08">August</asp:ListItem>
                <asp:ListItem Value="09">September</asp:ListItem>
                <asp:ListItem Value="10">October</asp:ListItem>
                <asp:ListItem Value="11">November</asp:ListItem>
                <asp:ListItem Value="12">December</asp:ListItem>
            
            </asp:DropDownList>
            <asp:DropDownList ID="ddlDay2" Width="40px" runat="server">
            </asp:DropDownList>
          
            <asp:DropDownList ID="ddlYear2" Width="60px" runat="server">
            </asp:DropDownList>
        </td>
    </tr>
    <tr>
        <td style="padding-bottom: 10px">
            <asp:Label runat="server" ID="lblVisaPeriod" CssClass="text" Width="100px" Height="19px"></asp:Label>
            <asp:DropDownList ID="ddlVisaPeriod" Width="100px" runat="server">
            </asp:DropDownList>
            &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
            <asp:Label runat="server" ID="lblNumberOfEntry" CssClass="text" Width="100px" Height="19px"></asp:Label>
            <asp:DropDownList ID="ddlNumberOfEntry" Width="100px" runat="server">
            </asp:DropDownList>
        </td>
    </tr>
    <tr>
        <td style="padding-bottom: 10px">
            <asp:Label runat="server" ID="lblPurposeOfEntry" CssClass="text" Width="100px"></asp:Label>
            <asp:TextBox ID="txtPurposeOfEntry" runat="server" Width="450px" MaxLength="245" 
                ValidationGroup="Input"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td style="padding-bottom: 10px; padding-top: 15px">
            <asp:Label ID="lblGroupDetails" runat="server" Font-Bold="true" Font-Size="15px"></asp:Label>
             <hr />
        </td>
    </tr>
    <tr>
        <td style="padding-bottom: 10px">
            <table>
                <tr align="center">
                    <td style="padding-right:10px; padding-bottom:10px">
                        <asp:Label runat="server" ID="lblFullName" CssClass="text" Width="150px" Font-Bold="true"></asp:Label>
                     
                    </td>
                     <td style="padding-right:10px; padding-bottom:10px">
                        <asp:Label runat="server" ID="lblGender" CssClass="text" Width="50px" Font-Bold="true"></asp:Label><br />
                        (M/F)
                    </td>
                    <td style="padding-right:10px; padding-bottom:10px">
                        <asp:Label runat="server" ID="lblDOB" CssClass="text" Width="100px" Font-Bold="true"></asp:Label><br />
                        (mm/dd/yy)
                    </td>
                    <td style="padding-right:10px; padding-bottom:10px">
                        <asp:Label runat="server" ID="lblNationality" CssClass="text" Width="130px" Font-Bold="true"></asp:Label>
                        
                    </td>
                     <td style="padding-right:10px; padding-bottom:10px">
                        <asp:Label runat="server" ID="lblPassportNo" CssClass="text" Width="90px" Font-Bold="true"></asp:Label>
                        
                    </td>
                      <td style="padding-bottom:10px">
                        <asp:Label runat="server" ID="lblExpiryDate" CssClass="text" Width="100px" Font-Bold="true"></asp:Label><br />
                           (mm/dd/yy)
                    </td>
                </tr>
                <tr>
                    <td style="padding-bottom:7px">
                        <asp:TextBox ID="txtFullName1" runat="server" MaxLength="245" Width="140px" ></asp:TextBox>
                    </td>
                    <td style="padding-bottom:7px">
                  <asp:TextBox ID="txtGender1" runat ="server" Width="40px"    ></asp:TextBox>
                      
                    </td>
                    <td style="padding-bottom:7px">
                      <asp:TextBox ID="txtDoB1" runat ="server" Width="90px"  ></asp:TextBox>
                    </td>
                    <td style="padding-bottom:7px">
                        <asp:DropDownList ID="ddlNationality1" runat="server" Width="120px">
                        </asp:DropDownList>
                    </td>
                   <td style="padding-bottom:7px">
                        <asp:TextBox ID="txtPassport1" runat="server" Width="80px" MaxLength="245" ></asp:TextBox>
                    </td>
                   <td style="padding-bottom:7px">
                         <asp:TextBox ID="txtExp1" runat ="server" Width="90px"  ></asp:TextBox>
                    </td>
                </tr>
                <tr >
                  <td style="padding-bottom:7px">
                        <asp:TextBox ID="txtFullName2" runat="server" Width="140px" MaxLength="245" ></asp:TextBox>
                    </td>
                   <td style="padding-bottom:7px">
                         <asp:TextBox ID="txtGender2" runat ="server" Width="40px"    ></asp:TextBox>
                    </td>
                  <td style="padding-bottom:7px">
                       <asp:TextBox ID="txtDoB2" runat ="server" Width="90px"  ></asp:TextBox>
                    </td>
                   <td style="padding-bottom:7px">
                        <asp:DropDownList ID="ddlNationality2" runat="server" Width="120px">
                        </asp:DropDownList>
                    </td>
                   <td style="padding-bottom:7px">
                        <asp:TextBox ID="txtPassport2" runat="server" Width="80px" MaxLength="245" ></asp:TextBox>
                    </td>
                    <td style="padding-bottom:7px">
                        <asp:TextBox ID="txtExp2" runat ="server" Width="90px"  ></asp:TextBox>
                    </td>
                </tr>
                <tr >
                    <td style="padding-bottom:7px">
                        <asp:TextBox ID="txtFullName3" runat="server" Width="140px" MaxLength="245" ></asp:TextBox>
                    </td>
                 <td style="padding-bottom:7px">
                         <asp:TextBox ID="txtGender3" runat ="server" Width="40px"    ></asp:TextBox>
                    </td>
                   <td style="padding-bottom:7px">
                         <asp:TextBox ID="txtDoB3" runat ="server" Width="90px"  ></asp:TextBox>
                    </td>
                   <td style="padding-bottom:7px">
                        <asp:DropDownList ID="ddlNationality3" runat="server" Width="120px">
                        </asp:DropDownList>
                    </td>
                  <td style="padding-bottom:7px">
                        <asp:TextBox ID="txtPassport3" runat="server" Width="80px" MaxLength="245" ></asp:TextBox>
                    </td>
                  <td style="padding-bottom:7px">
                         <asp:TextBox ID="txtExp3" runat ="server" Width="90px"  ></asp:TextBox>
                    </td>
                </tr>
                <tr>
                   <td style="padding-bottom:7px">
                        <asp:TextBox ID="txtFullName4" runat="server" Width="140px" MaxLength="245" ></asp:TextBox>
                    </td>
                  <td style="padding-bottom:7px">
                       <asp:TextBox ID="txtGender4" runat ="server" Width="40px"    ></asp:TextBox>
                    </td>
                   <td style="padding-bottom:7px">
                       <asp:TextBox ID="txtDoB4" runat ="server" Width="90px"  ></asp:TextBox>
                    </td>
                    <td style="padding-bottom:7px">
                        <asp:DropDownList ID="ddlNationality4" runat="server" Width="120px">
                        </asp:DropDownList>
                    </td>
                   <td style="padding-bottom:7px">
                        <asp:TextBox ID="txtPassport4" runat="server" Width="80px" MaxLength="245" ></asp:TextBox>
                    </td>
                   <td style="padding-bottom:7px">
                         <asp:TextBox ID="txtExp4" runat ="server" Width="90px"  ></asp:TextBox>
                    </td>
                </tr>
                <tr>
                   <td style="padding-bottom:7px">
                        <asp:TextBox ID="txtFullName5" runat="server" Width="140px" MaxLength="245" ></asp:TextBox>
                    </td>
                   <td style="padding-bottom:7px">
                       <asp:TextBox ID="txtGender5" runat ="server" Width="40px"    ></asp:TextBox>
                    </td>
                  <td style="padding-bottom:7px">
                          <asp:TextBox ID="txtDoB5" runat ="server" Width="90px"  ></asp:TextBox>
                    </td>
                   <td style="padding-bottom:7px">
                        <asp:DropDownList ID="ddlNationality5" runat="server" Width="120px" >
                        </asp:DropDownList>
                    </td>
                   <td style="padding-bottom:7px">
                        <asp:TextBox ID="txtPassport5" runat="server" Width="80px" MaxLength="245" ></asp:TextBox>
                    </td>
                   <td style="padding-bottom:7px">
                         <asp:TextBox ID="txtExp5" runat ="server" Width="90px"  ></asp:TextBox>
                    </td>
                </tr>
                <tr >
                    <td style="padding-bottom:7px">
                        <asp:TextBox ID="txtFullName6" runat="server" Width="140px" MaxLength="245" ></asp:TextBox>
                    </td>
                   <td style="padding-bottom:7px">
                       <asp:TextBox ID="txtGender6" runat ="server" Width="40px"    ></asp:TextBox>
                    </td>
                  <td style="padding-bottom:7px">
                         <asp:TextBox ID="txtDoB6" runat ="server" Width="90px"  ></asp:TextBox>
                    </td>
                   <td style="padding-bottom:7px">
                        <asp:DropDownList ID="ddlNationality6" runat="server" Width="120px">
                        </asp:DropDownList>
                    </td>
                   <td style="padding-bottom:7px">
                        <asp:TextBox ID="txtPassport6" runat="server" Width="80px" MaxLength="245" ></asp:TextBox>
                    </td>
                  <td style="padding-bottom:7px">
                          <asp:TextBox ID="txtExp6" runat ="server" Width="90px"  ></asp:TextBox>
                    </td>
                </tr>
                <tr >
                    <td style="padding-bottom:7px">
                        <asp:TextBox ID="txtFullName7" runat="server" Width="140px" MaxLength="245" ></asp:TextBox>
                    </td>
                   <td style="padding-bottom:7px">
                       <asp:TextBox ID="txtGender7" runat ="server" Width="40px"    ></asp:TextBox>
                    </td>
                   <td style="padding-bottom:7px">
                         <asp:TextBox ID="txtDoB7" runat ="server" Width="90px"  ></asp:TextBox>
                    </td>
                   <td style="padding-bottom:7px">
                        <asp:DropDownList ID="ddlNationality7" runat="server" Width="120px">
                        </asp:DropDownList>
                    </td>
                    <td style="padding-bottom:7px">
                        <asp:TextBox ID="txtPassport7" runat="server" Width="80px" MaxLength="245" ></asp:TextBox>
                    </td>
                   <td style="padding-bottom:7px">
                         <asp:TextBox ID="txtExp7" runat ="server" Width="90px"  ></asp:TextBox>
                    </td>
                </tr>
                <tr>
                    <td style="padding-bottom:7px">
                        <asp:TextBox ID="txtFullName8" runat="server" Width="140px" MaxLength="245" ></asp:TextBox>
                    </td>
                    <td style="padding-bottom:7px">
                         <asp:TextBox ID="txtGender8" runat ="server" Width="40px"    ></asp:TextBox>
                    </td>
                    <td style="padding-bottom:7px">
                         <asp:TextBox ID="txtDoB8" runat ="server" Width="90px"  ></asp:TextBox>
                    </td>
                    <td style="padding-bottom:7px">
                        <asp:DropDownList ID="ddlNationality8" runat="server" Width="120px" >
                        </asp:DropDownList>
                    </td>
                    <td style="padding-bottom:7px">
                        <asp:TextBox ID="txtPassport8" runat="server" Width="80px" MaxLength="245" ></asp:TextBox>
                    </td>
                   <td style="padding-bottom:7px">
                         <asp:TextBox ID="txtExp8" runat ="server" Width="90px"  ></asp:TextBox>
                    </td>
                </tr>
            </table>
        </td>
    </tr>
    <tr>
        <td style="padding-bottom: 10px">
            <asp:Label runat="server" ID="lblPayment" CssClass="text" Width="100px" Height="19px"></asp:Label>
            <asp:DropDownList ID="ddlPayment" Width="150px" runat="server">
            </asp:DropDownList>
        </td>
    </tr>
    <tr>
        <td style="padding-bottom: 10px">
            <asp:Label runat="server" ID="lblOtherRequest" CssClass="text" Width="100px" Height="19px"></asp:Label>
            <asp:TextBox ID="txtOtherRequest" runat="server" Width="450px" Height="100px" TextMode="MultiLine"></asp:TextBox>
        </td>
    </tr>
    <tr>
        <td style="padding-bottom: 10px">
            <asp:ImageButton ID="btnSave" runat="server" OnClick="btnSave_Click" 
                ValidationGroup="Input" ImageUrl="~/Images/Layout/submitform-input-button-bg.png" />
        </td>
    </tr>
</table>
<asp:ValidationSummary ID="ValidationSummary4" ShowMessageBox="true" runat="server"
    ValidationGroup="Input" ShowSummary="False" />
<asp:RequiredFieldValidator ID="rfvContactFullname" runat="server" SetFocusOnError="true"
    ControlToValidate="txtContactFullname" Display="None" ValidationGroup="Input"
    Text="*"></asp:RequiredFieldValidator>
<asp:RequiredFieldValidator ID="rfvContactEmail" runat="server" SetFocusOnError="true"
    ControlToValidate="txtEmail" Display="None" ValidationGroup="Input" Text="*"></asp:RequiredFieldValidator>
<%--<asp:RequiredFieldValidator ID="rfvConfirmEmail" runat="server" SetFocusOnError="true"
        ControlToValidate="txtConfirmEmail" Display="None" ValidationGroup="Input" Text="*"></asp:RequiredFieldValidator>--%>
<asp:RegularExpressionValidator ID="revEmail" runat="server" ValidationExpression="\w+([-+.']\w+)*@\w+([-.]\w+)*\.\w+([-.]\w+)*"
    ControlToValidate="txtEmail" Display="None" ValidationGroup="Input" SetFocusOnError="True"
    Text="*">
</asp:RegularExpressionValidator>
<asp:CompareValidator ID="cpvEmail" runat="server" ControlToValidate="txtEmail" Operator="Equal"
    Type="String" ControlToCompare="txtConfirmEmail" ValidationGroup="Input" ForeColor="White"
    Display="None" SetFocusOnError="true"></asp:CompareValidator>